<?php
class Form_User_Auth extends Zend_Form 
{
	public function __construct($options = null){
		parent::__construct($options);
		$this->setName('auth');
		$this->setMethod('post');
		$this->setAction('/user/login/');
		$email = new Zend_Form_Element_Text('email', array('class'=>'text', 'id'=>'email')); 
		$password = new Zend_Form_Element_Password('password', array('class'=>'text', 'id'=>'pass'));
		$submit = new Zend_Form_Element_Submit('submit');
		$this->addElements(array($email, $password, $submit));
	    foreach($this->getElements() as $element){
            $element->clearDecorators()->addDecorator("ViewHelper");
        }
	}
}